package com.yunhe.abnormal.repository.base;

import com.yunhe.abnormal.domain.base.AlarmType;
import org.springframework.data.neo4j.repository.Neo4jRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface AlarmTypeRepository extends Neo4jRepository<AlarmType, Long> {
    /**
     * 根据标题获得异常类型对象
     * @param title 标题
     */
    AlarmType findByTitle(String title);
}
